﻿namespace cludg.Services.Security
{
	using Domain.Users;

	public interface IAdministration
	{
		void ActivateUser(string userId);
		string RegisterUser(User user, string name, string password, bool needActivation = true);
		string RegisterThirdPartyUser(User user, string thirdPartyIdent);

		void ResetUserPassword(string userId, out string newPassword);
		void SetUserPassword(string userId, string newPassword);
		void ResetUserPasswordByEmail(string email, out string newPassword);
	}
}
